export interface getHosListRequestParamesType {
  page: number,
  limit: number,
  hosname?: string,
  hoscode?: string
}

// records 数组中的数据类型
export interface getHosListRequestReturnItemType {
  id: number,
  createTime: string,
  updateTime: string,
  isDeleted: number,
  param: {},
  hosname: string,
  hoscode: string,
  apiUrl: string,
  signKey: string,
  contactsName: string,
  contactsPhone: string,
  status: 0 | 1
}

// records 数据类型
export type getHosListRequestReturnRecordsType = getHosListRequestReturnItemType[]

// 医院分页查询数据类型
export interface getHosListRequestReturnType {
  records: getHosListRequestReturnRecordsType,
  total: number,
  size: number,
  current: number,
  orders: any[],
  hitCount: boolean,
  searchCount: boolean,
  pages: number
}

// 添加医院函数参数类型
export interface addHosParamesType {
  hoscode: string
  hosname: string
  apiUrl: string
  contactsName: string
  contactsPhone: string
}

// 修改医院函数参数类型
export interface updateHosParamesType extends addHosParamesType {
  id: string
}